/*
 * $Id: DispatcherSimulatorImpl.java,v 1.2 2009/07/10 21:29:59 navdeep_mahajan Exp $
 * 
 * Copyright (C) 2009 General Electric Company. All Rights Reserved.
 * 
 * This software is the confidential and proprietary information of the General
 * Electric Company (GE). You shall not disclose this software and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with GE.
 * 
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
 * AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THIS SOFTWARE OR ITS
 * DERIVATIVES.
 */
package com.ge.healthcare.autosc.onwatch.service.test;

import com.ge.healthcare.autosc.common.database.pojo.ActTask;

/**
 * @author 212042946
 * 
 */
public class DispatcherSimulatorImpl {

	private static ActTask taskInfo = null;

	public void process(ActTask taskInput) {
		taskInfo = taskInput;
		System.out.println("Dispatcher Initiated");
		System.out.println("Received Task: " + taskInfo);

	}

	public static ActTask getTaskInfo() {
		return taskInfo;
	}

	public static void resetTaskInfo() {
		taskInfo = null;
	}
}
